<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'userPage.jsp' starting page</title>
    <script type="text/javascript" src="<%=path%>/resources/js/jquery-1.11.1.min.js"> </script>
	

  </head>
  
  <body>
  <script type="text/javascript">
  $(function(){
  $.get("home/userData",{name:"Mike"},function(json){
  	$("font").text(json);
  });
  });
  </script>
   This is user HomePage!<font style="font-size: 20px;"></font>
  </body>
</html>
